import request from '@/utils/request'

// 查询常规报价单列表
export function listCgbjd(query) {
  return request({
    url: '/gd/cgbjd/list',
    method: 'get',
    params: query
  })
}

// 查询常规报价单详细
export function getCgbjd(id) {
  return request({
    url: '/gd/cgbjd/' + id,
    method: 'get'
  })
}

// 新增常规报价单
export function addCgbjd(data) {
  return request({
    url: '/gd/cgbjd',
    method: 'post',
    data: data
  })
}

// 修改常规报价单
export function updateCgbjd(data) {
  return request({
    url: '/gd/cgbjd',
    method: 'put',
    data: data
  })
}

// 删除常规报价单
export function delCgbjd(id) {
  return request({
    url: '/gd/cgbjd/' + id,
    method: 'delete'
  })
}
